<?php

namespace Guigle\GuiaBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

use Guigle\GuiaBundle\Entity\CatL1;


class AdministracionController extends Controller
{
    public function listAction()
    {
        $em = $this->get('doctrine')->getEntityManager();
        
        return $this->render('GuiaBundle:Administracion:list.html.twig', array(
            'entradas' => $em->getRepository('GuiaBundle:Entrada')->findAll(),
            'title' => 'Guigle Administrador',
            'categorias' => 'cateogirass..'
        ));
    }



}; //fin clase
